SMAHB00801_종합판정문구관리[공단건진].xfdl 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHB00801" position="absolute 0 0 1196 773" titletext="판정소견예문관리" onload="SMAHB00801_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="line9" linetype="horizontal" class="line_2" position="absolute 715 554 1194 560" anchor="top right"/>
  8. <Shape id="line6" linetype="horizontal" class="line_2" position="absolute 715 377 1194 383" anchor="top right"/>
  9. <Static id="caption6" text="판정소견예문관리" class="tit_1" position="absolute 0 0 140 25"/>
  10. <Static id="caption1" text="예문입력" class="tit_2" position="absolute 715 73 793 90" anchor="top right"/>
  11. <Grid id="grd_judgexmplst" taborder="1" binddataset="ds_main_judgexmpcdlst_item" useinputpanel="false" position="absolute 0 94 710 744" oncelldblclick="grd_judgexmplst_oncelldblclick" onrbuttonup="grd_judgexmplst_onrbuttonup" autoenter="key" selecttype="multirow" anchor="all">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="25" band="left"/>
  16. <Column size="0"/>
  17. <Column size="66"/>
  18. <Column size="220"/>
  19. <Column size="190"/>
  20. <Column size="100"/>
  21. <Column size="100"/>
  22. <Column size="80"/>
  23. <Column size="100"/>
  24. </Columns>
  25. <Rows>
  26. <Row size="24" band="head"/>
  27. <Row size="24"/>
  28. </Rows>
  29. <Band id="head">
  30. <Cell/>
  31. <Cell col="1" text="sel"/>
  32. <Cell col="2" text="소견코드"/>
  33. <Cell col="3" text="한글소견"/>
  34. <Cell col="4" text="영문소견"/>
  35. <Cell col="5" text="소견그룹코드"/>
  36. <Cell col="6" text="소견그룹명"/>
  37. <Cell col="7" text="최종수정자"/>
  38. <Cell col="8" text="최종수정일시"/>
  39. </Band>
  40. <Band id="body">
  41. <Cell celltype="head" text="expr:currow+1"/>
  42. <Cell col="1" text="bind:sel"/>
  43. <Cell col="2" text="bind:judgexmpcd"/>
  44. <Cell col="3" displaytype="text" text="bind:judghangshrtcnts"/>
  45. <Cell col="4" displaytype="text" text="bind:judgengshrtcnts"/>
  46. <Cell col="5" text="bind:judgexmpgrpcd"/>
  47. <Cell col="6" text="bind:judgexmpgrpnm"/>
  48. <Cell col="7" text="bind:lastupdtrid"/>
  49. <Cell col="8" text="bind:lastupdtdt" mask="####-##-## ##:##:##"/>
  50. </Band>
  51. </Format>
  52. </Formats>
  53. </Grid>
  54. <Shape id="line10" linetype="horizontal" class="line_3" position="absolute 715 741 1194 747" anchor="right bottom"/>
  55. <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 715 89 1194 95" anchor="top right"/>
  56. <Shape id="line2" linetype="horizontal" class="line_2" position="absolute 715 114 1194 120" anchor="top right"/>
  57. <Shape id="line3" linetype="horizontal" class="line_2" position="absolute 715 138 1194 144" anchor="top right"/>
  58. <Static id="caption11" text="한글소견" class="cell_1" position="absolute 715 118 794 141" style="padding:0 0 0 4;" anchor="top right"/>
  59. <Static id="caption7" text="예문코드" class="cell_1" position="absolute 715 94 794 117" style="padding:0 0 0 4;" anchor="top right"/>
  60. <Static id="caption3" text="예문내역" class="tit_2" position="absolute 0 73 92 89"/>
  61. <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 0 89 710 95" anchor="left top right"/>
  62. <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 715 162 1194 168" anchor="top right"/>
  63. <Static id="caption9" text="한글판정소견" class="cell_1" position="absolute 715 381 794 557" style="padding:0 0 0 4;" anchor="top right"/>
  64. <Shape id="line8" linetype="horizontal" class="line_2" position="absolute 715 279 1194 285" anchor="top right"/>
  65. <Static id="caption18" text="질환코드" class="cell_1" position="absolute 715 166 794 282" anchor="top right"/>
  66. <Static id="caption14" text="영문소견" class="cell_1" position="absolute 715 142 794 165" style="padding:0 0 0 4;" anchor="top right"/>
  67. <Edit id="ipt_exmpcd" taborder="2" class="input_essential" position="absolute 797 95 920 114" onkeyup="Edit_onkeyup" anchor="top right"/>
  68. <Edit id="ipt_shrthang" taborder="3" class="input" position="absolute 797 119 1194 138" onkeyup="Edit_onkeyup" anchor="top right"/>
  69. <Edit id="ipt_shrteng" taborder="4" class="input" position="absolute 797 143 1194 162" onkeyup="Edit_onkeyup" anchor="top right"/>
  70. <TextArea id="tar_hangcnts" taborder="5" position="absolute 797 381 1194 555" anchor="top right"/>
  71. <TextArea id="tar_engcnts" taborder="6" position="absolute 797 558 1194 742" anchor="top right bottom"/>
  72. <Button id="btn_sickcd" taborder="7" text="질환코드" class="btn2" position="absolute 722 208 787 230" onclick="btn_sickcd_onclick" anchor="top right"/>
  73. <Static id="caption10" text="영문판정소견" class="cell_1" position="absolute 715 558 794 744" style="padding:0 0 0 4;" anchor="top right bottom"/>
  74. <Div id="grp_search" taborder="8" class="div_SA" position="absolute 0 25 1194 65" anchor="left top right">
  75. <Layouts>
  76. <Layout>
  77. <Static id="caption21" text="예문코드 :" class="search_name" position="absolute 16 12 102 29" anchor="default"/>
  78. <Button id="btn_search" taborder="2" text="조회" class="btn1" position="absolute 1122 9 1178 31" anchor="right" onclick="grp_search_btn_search_onclick"/>
  79. <Shape id="line18" linetype="vertical" class="line_4" position="absolute 1101 9 1107 31" anchor="right"/>
  80. <Edit id="ipt_examcnts" taborder="3" class="input_search" position="absolute 420 11 710 30" anchor="default" onkeyup="grp_search_ipt_examcnts_onkeyup"/>
  81. <Edit id="ipt_examcd" taborder="4" class="input_search" position="absolute 105 11 270 30" anchor="default" onkeyup="grp_search_ipt_examcd_onkeyup"/>
  82. <Static id="caption22" text="단문내용:" class="search_name" position="absolute 330 12 416 29" anchor="default"/>
  83. <Static id="caption13" text="건진상세:" class="search_name" position="absolute 770 12 856 29" anchor="default"/>
  84. <Combo id="cmb_healexamdetlflag" taborder="5" innerdataset="@ds_init_A0070" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" position="absolute 857 11 942 30" anchor="default"/>
  85. </Layout>
  86. </Layouts>
  87. </Div>
  88. <Grid id="grd_sicklst" taborder="9" binddataset="ds_main_judgexmpdetl_itemsick" useinputpanel="false" position="absolute 797 190 1194 280" selecttype="multirow" anchor="top right">
  89. <Formats>
  90. <Format id="default">
  91. <Columns>
  92. <Column size="25" band="left"/>
  93. <Column size="83"/>
  94. <Column size="168"/>
  95. <Column size="100"/>
  96. <Column size="100"/>
  97. </Columns>
  98. <Rows>
  99. <Row size="24" band="head"/>
  100. <Row size="24"/>
  101. </Rows>
  102. <Band id="head">
  103. <Cell/>
  104. <Cell col="1" text="질환코드"/>
  105. <Cell col="2" text="질환명"/>
  106. <Cell col="3" text="판정코드"/>
  107. <Cell col="4" text="사업체코드"/>
  108. </Band>
  109. <Band id="body">
  110. <Cell celltype="head"/>
  111. <Cell col="1" text="bind:sickcd"/>
  112. <Cell col="2" displaytype="text" text="bind:sicknm"/>
  113. <Cell col="3" displaytype="combo" edittype="combo" text="bind:judgcd" combodataset="ds_cmb_judgcd" combocodecol="value" combodatacol="label"/>
  114. <Cell col="4" displaytype="text" edittype="text" text="bind:cmpycd"/>
  115. </Band>
  116. </Format>
  117. </Formats>
  118. </Grid>
  119. <Static id="caption2" text="사용여부" class="cell_1" position="absolute 923 94 982 117" style="padding:0 0 0 4;" anchor="top right"/>
  120. <CheckBox id="chk_useyn" taborder="10" position="absolute 985 96 1030 116" text="사용" truevalue="Y" onclick="chk_useyn_onclick" anchor="top right"/>
  121. <Button id="btn_rsltdel" taborder="11" text="선택행삭제" class="btn2" position="absolute 1119 166 1194 188" onclick="btn_rsltdel_onclick" anchor="top right"/>
  122. <Button id="btn_copy" taborder="12" text="행복사" class="btn2" position="absolute 657 67 710 89" onclick="btn_copy_onclick" anchor="top right"/>
  123. <Static id="caption4" text="질환코드" class="cell_1" position="absolute 715 283 794 380" anchor="top right"/>
  124. <Grid id="grd_testlst" taborder="13" binddataset="ds_main_judgexmpdetl_itemtest" useinputpanel="false" position="absolute 797 307 1194 378" selecttype="multirow" anchor="top right">
  125. <Formats>
  126. <Format id="default">
  127. <Columns>
  128. <Column size="25" band="left"/>
  129. <Column size="150"/>
  130. <Column size="200"/>
  131. </Columns>
  132. <Rows>
  133. <Row size="24" band="head"/>
  134. <Row size="24"/>
  135. </Rows>
  136. <Band id="head">
  137. <Cell/>
  138. <Cell col="1" text="검사코드"/>
  139. <Cell col="2" text="검사명"/>
  140. </Band>
  141. <Band id="body">
  142. <Cell celltype="head"/>
  143. <Cell col="1" displaytype="text" text="bind:testcd"/>
  144. <Cell col="2" displaytype="text" text="bind:testnm"/>
  145. </Band>
  146. </Format>
  147. </Formats>
  148. </Grid>
  149. <Button id="ipt_testcd" taborder="14" text="검사코드" class="btn2" position="absolute 722 316 787 338" onclick="ipt_testcd_onclick" anchor="top right"/>
  150. <Button id="button3" taborder="15" text="검사코드삭제" class="btn2" position="absolute 1108 283 1194 305" onclick="button3_onclick" anchor="top right"/>
  151. <Button id="button2" taborder="16" text="검사코드저장" class="btn2" position="absolute 1020 283 1106 305" onclick="button2_onclick" anchor="top right"/>
  152. <Div id="grp_judgexmpgrp" taborder="17" visible="false" position="absolute 272 216 705 298" class="div_SA2">
  153. <Layouts>
  154. <Layout>
  155. <Static id="caption5" text="소견그룹코드" class="cell_1" position="absolute 6 27 85 50" anchor="default" style="padding:0 0 0 4;"/>
  156. <Static id="caption8" text="소견그룹등록" class="tit_2" position="absolute 6 6 109 23" anchor="default"/>
  157. <Shape id="line7" linetype="horizontal" class="line_10" position="absolute 6 22 427 28" anchor="default"/>
  158. <Edit id="ipt_judgexmpgrpcd" taborder="1" class="input_essential" position="absolute 88 29 208 48" anchor="default"/>
  159. <Static id="caption12" text="소견그룹명" class="cell_1" position="absolute 213 27 292 50" anchor="default" style="padding:0 0 0 4;"/>
  160. <Edit id="ipt_judgexmpgrpnm" taborder="2" class="input_essential" position="absolute 293 29 427 48" anchor="default"/>
  161. <Button id="btn_savepopup" taborder="3" text="저장" class="btn4" position="absolute 371 54 427 76" anchor="default" onclick="grp_judgexmpgrp_btn_savepopup_onclick"/>
  162. <Shape id="line11" linetype="horizontal" class="line_2" position="absolute 6 49 430 55" anchor="default"/>
  163. <Button id="btn_rsltexmp" taborder="4" class="icon_plus" position="absolute 412 8 426 22" anchor="default" onclick="grp_judgexmpgrp_btn_rsltexmp_onclick"/>
  164. </Layout>
  165. </Layouts>
  166. </Div>
  167. <Static id="caption15" text="건진상세" class="cell_1" position="absolute 1033 94 1092 117" style="padding:0 0 0 4;" anchor="top right"/>
  168. <Combo id="cmb_healexamdetlflag2" taborder="18" innerdataset="@ds_init_A0070" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" position="absolute 1098 95 1194 114" anchor="top right"/>
  169. <Div id="grp_btn" taborder="19" position="absolute 0 744 1195 771" anchor="left right bottom">
  170. <Layouts>
  171. <Layout>
  172. <Button id="btn_save" taborder="1" text="저장" class="btn4" position="absolute 1007 3 1063 25" anchor="right" onclick="grp_btn_btn_save_onclick"/>
  173. <Button id="btn_del" taborder="2" text="삭제" class="btn4" position="absolute 1067 3 1123 25" anchor="right" onclick="grp_btn_btn_del_onclick"/>
  174. <Button id="btn_clear" taborder="3" text="초기화" class="btn4" position="absolute 1126 3 1194 25" anchor="right" onclick="grp_btn_btn_clear_onclick"/>
  175. </Layout>
  176. </Layouts>
  177. </Div>
  178. <Shape id="line00" class="line_3" position="absolute 797 304 1194 310" anchor="top right"/>
  179. <Shape id="line07" class="line_3" position="absolute 797 187 1194 193" anchor="top right"/>
  180. </Layout>
  181. </Layouts>
  182. <Objects>
  183. <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  184. <ColumnInfo>
  185. <Column id="grdid" type="STRING" size="256"/>
  186. </ColumnInfo>
  187. <Rows>
  188. <Row>
  189. <Col id="grdid"/>
  190. </Row>
  191. </Rows>
  192. </Dataset>
  193. <Dataset id="ds_hidden_testlst_itemtest" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  194. <Dataset id="ds_send_savesub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  195. <ColumnInfo>
  196. <Column id="savetest" type="STRING" size="256"/>
  197. <Column id="judgcd" type="STRING" size="256"/>
  198. <Column id="instcd" type="STRING" size="256"/>
  199. <Column id="healexamflag" type="STRING" size="256"/>
  200. </ColumnInfo>
  201. <Rows>
  202. <Row>
  203. <Col id="savetest"/>
  204. <Col id="judgcd"/>
  205. <Col id="instcd"/>
  206. <Col id="healexamflag"/>
  207. </Row>
  208. </Rows>
  209. </Dataset>
  210. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  211. <ColumnInfo>
  212. <Column id="cnt" type="STRING" size="256"/>
  213. </ColumnInfo>
  214. </Dataset>
  215. <Dataset id="ds_main_judgexmpcdlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  216. <ColumnInfo>
  217. <Column id="sel" type="STRING" size="256"/>
  218. <Column id="judgexmpcd" type="STRING" size="256"/>
  219. <Column id="judghangshrtcnts" type="STRING" size="256"/>
  220. <Column id="judgengshrtcnts" type="STRING" size="256"/>
  221. <Column id="judgexmpgrpcd" type="STRING" size="256"/>
  222. <Column id="judgexmpgrpnm" type="STRING" size="256"/>
  223. <Column id="lastupdtrid" type="STRING" size="256"/>
  224. <Column id="lastupdtdt" type="STRING" size="256"/>
  225. </ColumnInfo>
  226. <Rows>
  227. <Row>
  228. <Col id="sel"/>
  229. <Col id="judgexmpcd"/>
  230. <Col id="judghangshrtcnts"/>
  231. <Col id="judgengshrtcnts"/>
  232. <Col id="judgexmpgrpcd"/>
  233. <Col id="judgexmpgrpnm"/>
  234. <Col id="lastupdtrid"/>
  235. <Col id="lastupdtdt"/>
  236. </Row>
  237. </Rows>
  238. </Dataset>
  239. <Dataset id="ds_main_judgexmpdetl_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  240. <ColumnInfo>
  241. <Column id="judgexmpcd" type="STRING" size="256"/>
  242. <Column id="judghangshrtcnts" type="STRING" size="256"/>
  243. <Column id="judgengshrtcnts" type="STRING" size="256"/>
  244. <Column id="useyn" type="STRING" size="256"/>
  245. <Column id="judghangcnts" type="STRING" size="256"/>
  246. <Column id="judgengcnts" type="STRING" size="256"/>
  247. </ColumnInfo>
  248. <Rows>
  249. <Row>
  250. <Col id="judgexmpcd"/>
  251. <Col id="judghangshrtcnts"/>
  252. <Col id="judgengshrtcnts"/>
  253. <Col id="useyn"/>
  254. <Col id="judghangcnts"/>
  255. <Col id="judgengcnts"/>
  256. </Row>
  257. </Rows>
  258. </Dataset>
  259. <Dataset id="ds_popup_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  260. <ColumnInfo>
  261. <Column id="label" type="STRING" size="256"/>
  262. <Column id="func" type="STRING" size="256"/>
  263. </ColumnInfo>
  264. <Rows>
  265. <Row>
  266. <Col id="label">판정그룹등록</Col>
  267. <Col id="func">addjudgegrp</Col>
  268. </Row>
  269. <Row>
  270. <Col id="label">판정그룹삭제</Col>
  271. <Col id="func">deljudgegrp</Col>
  272. </Row>
  273. </Rows>
  274. </Dataset>
  275. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  276. <ColumnInfo>
  277. <Column id="okflag" type="STRING" size="256"/>
  278. <Column id="instcd" type="STRING" size="256"/>
  279. <Column id="healexamflag" type="STRING" size="256"/>
  280. <Column id="testcd" type="STRING" size="256"/>
  281. <Column id="judgexmpcd" type="STRING" size="256"/>
  282. </ColumnInfo>
  283. <Rows>
  284. <Row>
  285. <Col id="okflag"/>
  286. <Col id="instcd"/>
  287. <Col id="healexamflag"/>
  288. <Col id="testcd"/>
  289. <Col id="judgexmpcd"/>
  290. </Row>
  291. </Rows>
  292. </Dataset>
  293. <Dataset id="ds_send_save_savesick" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  294. <Dataset id="ds_send_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  295. <ColumnInfo>
  296. <Column id="healexamflag" type="STRING" size="256"/>
  297. </ColumnInfo>
  298. <Rows>
  299. <Row>
  300. <Col id="healexamflag"/>
  301. </Row>
  302. </Rows>
  303. </Dataset>
  304. <Dataset id="ds_init_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  305. <ColumnInfo>
  306. <Column id="cdid" type="STRING" size="256"/>
  307. <Column id="cdnm" type="STRING" size="256"/>
  308. </ColumnInfo>
  309. <Rows>
  310. <Row>
  311. <Col id="cdid"/>
  312. <Col id="cdnm"/>
  313. </Row>
  314. </Rows>
  315. </Dataset>
  316. <Dataset id="ds_popup_jugdgexmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  317. <ColumnInfo>
  318. <Column id="judgexmpgrpcd" type="STRING" size="256"/>
  319. <Column id="judgexmpgrpnm" type="STRING" size="256"/>
  320. </ColumnInfo>
  321. </Dataset>
  322. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  323. <ColumnInfo>
  324. <Column id="srchjudgexmpcd" type="STRING" size="256"/>
  325. <Column id="srchjudgexmpcnts" type="STRING" size="256"/>
  326. <Column id="srchjudgexmpcd2" type="STRING" size="256"/>
  327. <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
  328. <Column id="srchinstcd" type="STRING" size="256"/>
  329. <Column id="srchhealexamflag" type="STRING" size="256"/>
  330. <Column id="srchjudgexmpcd2" type="STRING" size="256"/>
  331. </ColumnInfo>
  332. <Rows>
  333. <Row>
  334. <Col id="srchjudgexmpcd"/>
  335. <Col id="srchjudgexmpcnts"/>
  336. <Col id="srchjudgexmpcd2"/>
  337. <Col id="srchhealexamdetlflag"/>
  338. </Row>
  339. </Rows>
  340. </Dataset>
  341. <Dataset id="ds_main_judgexmpdetl_itemsick" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  342. <ColumnInfo>
  343. <Column id="sickcd" type="STRING" size="256"/>
  344. <Column id="sicknm" type="STRING" size="256"/>
  345. <Column id="judgcd" type="STRING" size="256"/>
  346. <Column id="cmpycd" type="STRING" size="256"/>
  347. </ColumnInfo>
  348. <Rows>
  349. <Row>
  350. <Col id="sickcd"/>
  351. <Col id="sicknm"/>
  352. <Col id="judgcd"/>
  353. <Col id="cmpycd"/>
  354. </Row>
  355. </Rows>
  356. </Dataset>
  357. <Dataset id="ds_send_savegrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  358. <ColumnInfo>
  359. <Column id="healexamflag" type="STRING" size="256"/>
  360. <Column id="instcd" type="STRING" size="256"/>
  361. <Column id="grpdata" type="STRING" size="256"/>
  362. </ColumnInfo>
  363. <Rows>
  364. <Row>
  365. <Col id="healexamflag"/>
  366. <Col id="instcd"/>
  367. <Col id="grpdata"/>
  368. </Row>
  369. </Rows>
  370. </Dataset>
  371. <Dataset id="ds_main_judgexmpdetl_itemtest" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  372. <ColumnInfo>
  373. <Column id="testcd" type="STRING" size="256"/>
  374. <Column id="testnm" type="STRING" size="256"/>
  375. <Column id="instcd" type="STRING" size="256"/>
  376. <Column id="healexamflag" type="STRING" size="256"/>
  377. <Column id="judgexmpcd" type="STRING" size="256"/>
  378. </ColumnInfo>
  379. <Rows>
  380. <Row>
  381. <Col id="testcd"/>
  382. <Col id="testnm"/>
  383. <Col id="instcd"/>
  384. <Col id="healexamflag"/>
  385. <Col id="judgexmpcd"/>
  386. </Row>
  387. </Rows>
  388. </Dataset>
  389. <Dataset id="ds_cmb_judgcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  390. <ColumnInfo>
  391. <Column id="label" type="STRING" size="256"/>
  392. <Column id="value" type="STRING" size="256"/>
  393. </ColumnInfo>
  394. <Rows>
  395. <Row>
  396. <Col id="label">A</Col>
  397. <Col id="value">A</Col>
  398. </Row>
  399. <Row>
  400. <Col id="label">B</Col>
  401. <Col id="value">B</Col>
  402. </Row>
  403. <Row>
  404. <Col id="label">C</Col>
  405. <Col id="value">C</Col>
  406. </Row>
  407. <Row>
  408. <Col id="label">R</Col>
  409. <Col id="value">R</Col>
  410. </Row>
  411. </Rows>
  412. </Dataset>
  413. <Dataset id="ds_send_savegrp_grpdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  414. <Dataset id="ds_hidden_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  415. <ColumnInfo>
  416. <Column id="cnt" type="STRING" size="256"/>
  417. </ColumnInfo>
  418. </Dataset>
  419. <Dataset id="ds_hidden_itemsick" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  420. <ColumnInfo>
  421. <Column id="cnt" type="STRING" size="256"/>
  422. </ColumnInfo>
  423. </Dataset>
  424. </Objects>
  425. <Bind>
  426. <BindItem id="item0" compid="ipt_exmpcd" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgexmpcd"/>
  427. <BindItem id="item1" compid="ipt_shrthang" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judghangshrtcnts"/>
  428. <BindItem id="item2" compid="ipt_shrteng" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgengshrtcnts"/>
  429. <BindItem id="item3" compid="tar_hangcnts" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judghangcnts"/>
  430. <BindItem id="item4" compid="tar_engcnts" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgengcnts"/>
  431. <BindItem id="item5" compid="grp_search.ipt_examcnts" propid="value" datasetid="ds_send" columnid="srchjudgexmpcnts"/>
  432. <BindItem id="item6" compid="grp_search.ipt_examcd" propid="value" datasetid="ds_send" columnid="srchjudgexmpcd"/>
  433. <BindItem id="item7" compid="chk_useyn" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="useyn"/>
  434. <BindItem id="item8" compid="grp_judgexmpgrp.ipt_judgexmpgrpcd" propid="value" datasetid="ds_popup_jugdgexmp" columnid="judgexmpgrpcd"/>
  435. <BindItem id="item9" compid="grp_judgexmpgrp.ipt_judgexmpgrpnm" propid="value" datasetid="ds_popup_jugdgexmp" columnid="judgexmpgrpnm"/>
  436. <BindItem id="item10" compid="grp_search.cmb_healexamdetlflag" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
  437. <BindItem id="item11" compid="cmb_healexamdetlflag2" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
  438. </Bind>
  439. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  440. * System Name :
  441. * Job Name :
  442. * Creator :
  443. * Make Date : 2017-12-04
  444. * Description :
  445. *---------------------------------------------------------------------------------------
  446. * Modify Date Modifier Modify Description
  447. *---------------------------------------------------------------------------------------
  448. * 2017-06-19 Live Converter TF->XP
  449. *
  450. *---------------------------------------------------------------------------------------
  451. ****************************************************************************************/
  452. //=======================================================================================
  453. // Lib Include
  454. //---------------------------------------------------------------------------------------
  455. include "com_commonxp::comm_main.xjs";
  456. include "ast_healexamxp::AHA001.xjs";
  457. //include "ast_commonxp::AST.xjs";
  458. //include "ast_healthexambasexp::healcombolist.xjs";
  459. //=======================================================================================
  460. // Global Form Variable
  461. //---------------------------------------------------------------------------------------
  462. var arErrorCode = new HashArray();
  463. //=======================================================================================
  464. // Function
  465. //---------------------------------------------------------------------------------------
  466. /*-**************************************************************************************
  467. * Argument : N/A
  468. * Description : 조회
  469. ****************************************************************************************/
  470. function fGetJudgExmpList(){
  471. fInit(false);
  472. ds_main_judgexmpcdlst_item.clearData();
  473. ds_send.setColumn( 0, "srchinstcd", sysf_getUserInfo("dutplceinstcd"));
  474. ds_send.setColumn( 0, "srchhealexamflag",fGetHealExamFlag());
  475. var arrParam = [{dsNm: "ds_init_A0070", cdGrpId: "A0070"}
  476. ];
  477. appf_getCodeList(arrParam);
  478. if(fGetHealExamFlag() == "G"){
  479. grp_search.caption13.visible = false;
  480. grp_search.cmb_healexamdetlflag.visible = false;
  481. caption15.visible = false;
  482. cmb_healexamdetlflag2.visible = false;
  483. ds_send.setColumn( 0, "srchhealexamdetlflag", cmb_healexamdetlflag2.value);
  484. }else{
  485. grp_search.caption13.visible = false;
  486. grp_search.cmb_healexamdetlflag.visible = false;
  487. caption15.visible = false;
  488. cmb_healexamdetlflag2.visible = false;
  489. }
  490. var oParam = {};
  491. oParam.id = "TRAHB00801";
  492. oParam.service = "healexambaseapp.CmtCode";
  493. oParam.method = "reqGetCmtCdList";
  494. oParam.inds = "req=ds_send";
  495. oParam.outds = "ds_main_judgexmpcdlst_item=item";
  496. oParam.async = false;
  497. //oParam.callback = "cf_TRAHB00801";
  498. tranf_submit(oParam);
  499. }
  500. /*-**************************************************************************************
  501. * Argument : vInput - true/false
  502. * Description : 화면초기화
  503. ****************************************************************************************/
  504. function fInit(vInput){
  505. ipt_exmpcd.enable = true;
  506. if( vInput == false ) {
  507. ds_main_judgexmpcdlst_item.clearData();
  508. }
  509. ds_main_judgexmpdetl_itemsick.clearData();
  510. ds_main_judgexmpdetl_itemtest.clearData();
  511. ds_main_judgexmpdetl_item.clearData(); ds_main_judgexmpdetl_item.addRow(); dsf_setDefaultVal(ds_main_judgexmpdetl_item, "all");
  512. ipt_exmpcd.setFocus();
  513. }
  514. /*-**************************************************************************************
  515. * Argument : bCopy - true/false
  516. * Description : 행복사(상세조회)
  517. ****************************************************************************************/
  518. function fGetExmpDetlInfo(bCopy){
  519. var idx = grd_judgexmplst.Row;
  520. if( idx < 0 ) return ;
  521. ipt_exmpcd.enable = bCopy;
  522. ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("dutplceinstcd"));
  523. ds_send.setColumn(0, "srchhealexamflag", fGetHealExamFlag());
  524. ds_send.setColumn(0, "srchjudgexmpcd2", ds_main_judgexmpcdlst_item.getColumn(idx, "judgexmpcd"));
  525. dsf_makeValue(ds_send, "srchjudgexmpcd", "string", ds_main_judgexmpcdlst_item.getColumn(idx, "judgexmpcd"));
  526. var oParam = {};
  527. oParam.id = "TRAHB00802";
  528. oParam.service = "healexambaseapp.CmtCode";
  529. oParam.method = "reqGetCmtCdDetl";
  530. oParam.inds = "req=ds_send";
  531. oParam.outds = "ds_main_judgexmpdetl_item=item ds_main_judgexmpdetl_itemsick=itemsick ds_main_judgexmpdetl_itemtest=itemtest";
  532. oParam.async = false;
  533. //oParam.callback = "cf_TRAHB00802";
  534. tranf_submit(oParam);
  535. if(bCopy == true) {
  536. ds_main_judgexmpdetl_item.setColumn( 0, "judgexmpcd","");
  537. ipt_exmpcd.setFocus();
  538. }
  539. }
  540. /*-**************************************************************************************
  541. * Argument : N/A
  542. * Description : 저장데이터 체크
  543. ****************************************************************************************/
  544. function fCheckVal(){
  545. var vCd = ds_main_judgexmpdetl_item.getColumn(0, "judgexmpcd");
  546. if(utlf_isNull(vCd)) {
  547. sysf_messageBox("예문코드는","I003");
  548. ipt_exmpcd.setFocus();
  549. }
  550. return true;
  551. }
  552. /*-**************************************************************************************
  553. * Argument : vDel - true/false 저장여부
  554. * Description : 저장
  555. ****************************************************************************************/
  556. function fSaveExmp(vDel){
  557. if(vDel == true ) {
  558. if ( sysf_messageBox("판정소견정보를","Q001") !=6 ) return ;
  559. }
  560. else {
  561. if ( sysf_messageBox("판정소견정보를","Q002") !=6 ) return ;
  562. }
  563. if(!fCheckVal()) return ;
  564. ds_send_save.copyData(ds_main_judgexmpdetl_item);
  565. ds_send_save.addColumn("mode","string");
  566. if( ipt_exmpcd.enable != true ){
  567. //update
  568. if(vDel == false ) {
  569. ds_send_save.setColumn(0, "mode", "u");
  570. }
  571. else {
  572. ds_send_save.setColumn(0, "mode", "d");
  573. }
  574. }
  575. else {
  576. //update
  577. ds_send_save.setColumn(0, "mode", "i");
  578. }
  579. dsf_makeValue(ds_send_save, "healexamflag", "string", fGetHealExamFlag());
  580. var dsUpdate = grdf_getGridUpdateData(grd_sicklst, "all");
  581. grdf_setStatusColumn(dsUpdate, "m");
  582. ds_send_save_savesick.copyData(dsUpdate, true);
  583. if(fGetHealExamFlag() == "G"){
  584. dsf_makeValue(ds_send_save, "healexamdetlflag", "string", grp_search.cmb_healexamdetlflag.value);
  585. }
  586. var oParam = {};
  587. oParam.id = "TXAHB00801";
  588. oParam.service = "healexambaseapp.CmtCode";
  589. oParam.method = "reqExeCmtCode";
  590. oParam.inds = "req=ds_send_save reqsick=ds_send_save_savesick";
  591. oParam.outds = "ds_hidden_item=item ds_hidden_itemsick=itemsick";
  592. oParam.async = false;
  593. oParam.callback = "cf_TXAHB00801";
  594. tranf_submit(oParam);
  595. if(arErrorCode.pop("TXAHB00801") > -1){
  596. fGetExmpDetlInfo(false);
  597. }
  598. }
  599. function cf_TXAHB00801(sSvcId, nErrorCode, sErrorMsg) {
  600. arErrorCode.push(sSvcId, nErrorCode);
  601. }
  602. /*-**************************************************************************************
  603. * Argument : N/A
  604. * Description : 예문코드와 매칭되는 검사코드를 저장,삭제한다.
  605. ****************************************************************************************/
  606. function fExeTestCd() {
  607. var idx = ds_main_judgexmpcdlst_item.rowcount;
  608. if( idx < 0) return ;
  609. var itest = ds_main_judgexmpdetl_itemtest.rowcount;
  610. for(var i = 0; i < itest; i++){
  611. ds_main_judgexmpdetl_itemtest.setColumn(i, "healexamflag", fGetHealExamFlag());;
  612. ds_main_judgexmpdetl_itemtest.setColumn(i, "judgcd", ds_main_judgexmpcdlst_item.getColumn(idx, "judgexmpcd"));
  613. ds_main_judgexmpdetl_itemtest.setColumn(i, "instcd", sysf_getUserInfo("dutplceinstcd"));
  614. }
  615. grdf_setStatusColumn(ds_main_judgexmpdetl_itemtest, "m");
  616. var oParam = {};
  617. oParam.id = "TXAHB00802";
  618. oParam.service = "healexambaseapp.CmtCode";
  619. oParam.method = "reqExeCmtTestCode";
  620. oParam.inds = "req=ds_main_judgexmpdetl_itemtest";
  621. oParam.outds = "ds_hidden_testlst_itemtest=itemtest";
  622. oParam.async = false;
  623. //oParam.callback = "cf_TXAHB00802";
  624. tranf_submit(oParam);
  625. }
  626. /*-**************************************************************************************
  627. * Argument : vMode - A : 등록 / D : 삭제
  628. * Description : 판정소견그룹을 등록,삭제 한다.
  629. ****************************************************************************************/
  630. function fSetJudgeGrp(vMode) {
  631. var selIdxs = grdf_getSelectedRows(grd_judgexmplst);
  632. // 판정소견그룹을 등록한다.
  633. if(vMode == "A") {
  634. // 팝업화면을 나타낸다
  635. grp_judgexmpgrp.visible = true;
  636. //초기화
  637. ds_popup_jugdgexmp.setColumn( 0, "judgexmpgrpcd","");
  638. ds_popup_jugdgexmp.setColumn( 0, "judgexmpgrpnm","");
  639. }else if(vMode == "D") {
  640. // 선택한 row의 그룹코드,명을 삭제한다.
  641. for(var i=0; i < selIdxs.length; i++) {
  642. var idx = selIdxs[i];
  643. ds_main_judgexmpcdlst_item.setColumn(idx, "judgexmpgrpcd", "");
  644. ds_main_judgexmpcdlst_item.setColumn(idx, "judgexmpgrpnm", "");
  645. grdf_setStatus(grd_judgexmplst, "U", [idx]);
  646. }
  647. var dsUpdate = grdf_getGridUpdateData(grd_judgexmplst, "all");
  648. grdf_setStatusColumn(dsUpdate, "m");
  649. ds_send_savegrp_grpdata.copyData(dsUpdate, true);
  650. dsf_setFixVal(ds_send_savegrp_grpdata, "healexamflag:"+ds_send.getColumn(0, "srchhealexamflag")+",instcd:"+ds_send.getColumn(0, "srchinstcd"));
  651. call_TXAHB00804();
  652. if(arErrorCode.pop("TXAHB00804") > -1) {ds_main_judgexmpcdlst_item.applyChange();}
  653. }
  654. }
  655. function call_TXAHB00804() {
  656. var oParam = {};
  657. oParam.id = "TXAHB00804";
  658. oParam.service = "healexambaseapp.CmtCode";
  659. oParam.method = "reqExeJudgExmpGrp";
  660. oParam.inds = "req=ds_send_savegrp_grpdata";
  661. oParam.outds = "ds_hidden=item";
  662. oParam.async = false;
  663. oParam.callback = "cf_TXAHB00804";
  664. tranf_submit(oParam);
  665. }
  666. function cf_TXAHB00804(sSvcId, nErrorCode, sErrorMsg) {
  667. arErrorCode.push(sSvcId, nErrorCode);
  668. }
  669. //=======================================================================================
  670. // Event
  671. //---------------------------------------------------------------------------------------
  672. /****************************************************************************************
  673. * Components : Form
  674. * Description : 화면 처음 초기화시 폼초기화
  675. ****************************************************************************************/
  676. function SMAHB00801_onload(obj:Form, e:LoadEventInfo) {
  677. frmf_initForm(obj);
  678. //grdf_initGrid(grd_XXX);
  679. //grdf_setGridSort(grd_XXX);
  680. grdf_setRowTypeIcon(grd_sicklst, 0);
  681. grdf_setRowTypeIcon(grd_testlst, 0);
  682. fGetJudgExmpList();
  683. //화면권한추가
  684. grp_search.btn_search.enable = frmf_checkAuth("R");
  685. grp_btn.btn_save.enable = frmf_checkAuth("X");
  686. grp_btn.btn_clear.enable = frmf_checkAuth("X");
  687. grp_btn.btn_del.enable = frmf_checkAuth("X");
  688. frmf_createPopupMenuDs("pmn_menu", "pmn_menu_onmenuclick", ds_popup_item);
  689. }
  690. /****************************************************************************************
  691. * Components : PopupMenu
  692. * Description : 팝업메뉴 실행
  693. ****************************************************************************************/
  694. function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  695. {
  696. if(e.id == "addjudgegrp") {
  697. fSetJudgeGrp("A");
  698. }
  699. if(e.id == "deljudgegrp") {
  700. fSetJudgeGrp("D");
  701. }
  702. }
  703. /****************************************************************************************
  704. * Components : Grid
  705. * Description : 예문내역 선택
  706. ****************************************************************************************/
  707. function grd_judgexmplst_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  708. fGetExmpDetlInfo(false);
  709. }
  710. /****************************************************************************************
  711. * Components : Button
  712. * Description : 질환코드 검색
  713. ****************************************************************************************/
  714. function btn_sickcd_onclick(obj:Button, e:ClickEventInfo) {
  715. var cnt = grd_sicklst.rowcount;
  716. ahafGetSickCd("SMAHB00800", "", "", cnt, grd_sicklst.binddataset);
  717. if( ds_temp.getColumn(0, "okflag") == "Y" ){
  718. for( var i = cnt ; i < grd_sicklst.rowcount; i++){
  719. grdf_setStatus(grd_sicklst, "I", [i]);
  720. }
  721. }
  722. }
  723. /****************************************************************************************
  724. * Components : Button
  725. * Description : 조회
  726. ****************************************************************************************/
  727. function grp_search_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  728. fGetJudgExmpList();
  729. }
  730. /****************************************************************************************
  731. * Components : Edit
  732. * Description : 조회조건 입력후 조회
  733. ****************************************************************************************/
  734. function grp_search_ipt_examcnts_onkeyup(obj:Edit, e:KeyEventInfo) {
  735. if(e.keycode == 13) {
  736. obj.updateToDataset();
  737. grp_search.btn_search.click();
  738. }
  739. }
  740. function grp_search_ipt_examcd_onkeyup(obj:Edit, e:KeyEventInfo) {
  741. if(e.keycode == 13) {
  742. obj.updateToDataset();
  743. grp_search.btn_search.click();
  744. }
  745. }
  746. /****************************************************************************************
  747. * Components : Button
  748. * Description : 질환코드 행삭제
  749. ****************************************************************************************/
  750. function btn_rsltdel_onclick(obj:Button, e:ClickEventInfo) {
  751. var objGrd = grd_sicklst;
  752. var selectedRows = grdf_getSelectedRows(objGrd);
  753. for (var i = selectedRows.length-1; i >= 0; i--){
  754. if( objects[objGrd.binddataset].getRowType(selectedRows[i]) == 2 ) {
  755. objects[objGrd.binddataset].deleteRow(selectedRows[i]);
  756. }else{
  757. grdf_setStatus(objGrd, "D", [selectedRows[i]]);
  758. }
  759. }
  760. }
  761. /****************************************************************************************
  762. * Components : Button
  763. * Description : 행복사
  764. ****************************************************************************************/
  765. function btn_copy_onclick(obj:Button, e:ClickEventInfo) {
  766. fGetExmpDetlInfo(true);
  767. }
  768. /****************************************************************************************
  769. * Components : Button
  770. * Description : 검사코드 조회
  771. ****************************************************************************************/
  772. function ipt_testcd_onclick(obj:Button, e:ClickEventInfo) {
  773. var cnt = grd_testlst.rowcount;
  774. var vjudgexmpcd = ds_main_judgexmpcdlst_item.getColumn(ds_main_judgexmpcdlst_item.rowposition, "judgexmpcd");
  775. ahafGetTestCd("SMAHB00800", "", "", cnt, this.objects[grd_testlst.binddataset], vjudgexmpcd);
  776. if( ds_temp.getColumn(0, "okflag") == "Y" ){
  777. for( var i = cnt ; i < grd_testlst.rowcount; i++){
  778. grdf_setStatus(grd_testlst, "I", [i]);
  779. }
  780. }
  781. }
  782. /****************************************************************************************
  783. * Components : Button
  784. * Description : 검사코드삭제
  785. ****************************************************************************************/
  786. function button3_onclick(obj:Button, e:ClickEventInfo) {
  787. deleteTest(grd_testlst.currentrow); //AHA001.xjs
  788. }
  789. /****************************************************************************************
  790. * Components : Button
  791. * Description : 검사코드저장
  792. ****************************************************************************************/
  793. function button2_onclick(obj:Button, e:ClickEventInfo) {
  794. fExeTestCd();
  795. }
  796. /****************************************************************************************
  797. * Components : Button
  798. * Description : 소견그룹저장
  799. ****************************************************************************************/
  800. function grp_judgexmpgrp_btn_savepopup_onclick(obj:Button, e:ClickEventInfo) {
  801. var selIdxs = grdf_getSelectedRows(grd_judgexmplst);
  802. var judgexmpgrpcd = grp_judgexmpgrp.ipt_judgexmpgrpcd.value;
  803. var judgexmpgrpnm = grp_judgexmpgrp.ipt_judgexmpgrpnm.value;
  804. for(var i = 0; i < selIdxs.length; i++) {
  805. var selIdx = selIdxs[i];
  806. if(!utlf_isNull(judgexmpgrpcd)) ds_main_judgexmpcdlst_item.setColumn(selIdx, "judgexmpgrpcd", judgexmpgrpcd);
  807. if(!utlf_isNull(judgexmpgrpnm)) ds_main_judgexmpcdlst_item.setColumn(selIdx, "judgexmpgrpnm", judgexmpgrpnm);
  808. grdf_setStatus(grd_judgexmplst, "U", [idx]);
  809. }
  810. var dsUpdate = grdf_getGridUpdateData(grd_judgexmplst, "all");
  811. grdf_setStatusColumn(dsUpdate, "m");
  812. ds_send_savegrp_grpdata.copyData(dsUpdate, true);
  813. dsf_setFixVal(ds_send_savegrp_grpdata, "healexamflag:"+ds_send.getColumn(0, "srchhealexamflag")+",instcd:"+ds_send.getColumn(0, "srchinstcd"));
  814. grp_judgexmpgrp.visible = false;
  815. call_TXAHB00804();
  816. if(arErrorCode.pop("TXAHB00804") > -1) {ds_main_judgexmpcdlst_item.applyChange();}
  817. }
  818. /****************************************************************************************
  819. * Components : Button
  820. * Description : 소견그룹 닫기
  821. ****************************************************************************************/
  822. function grp_judgexmpgrp_btn_rsltexmp_onclick(obj:Button, e:ClickEventInfo) {
  823. grp_judgexmpgrp.visible = false;
  824. }
  825. /****************************************************************************************
  826. * Components : Button
  827. * Description : 저장
  828. ****************************************************************************************/
  829. function grp_btn_btn_save_onclick(obj:Button, e:ClickEventInfo) {
  830. for(var i = 0; i < ds_main_judgexmpdetl_itemsick.rowcount; i++){
  831. if (utlf_isNull(ds_main_judgexmpdetl_itemsick.getColumn(i, "sickcd"))){
  832. sysf_messageBox("질환코드는 필수 선택항목 입니다.", "E999", "");
  833. return;
  834. }
  835. if (utlf_isNull(ds_main_judgexmpdetl_itemsick.getColumn(i, "judgcd"))){
  836. sysf_messageBox("판정코드는 필수 선택항목 입니다.", "E999", "");
  837. return;
  838. }
  839. }
  840. var irow = ds_main_judgexmpcdlst_item.rowposition;
  841. fSaveExmp(false);
  842. grp_search.btn_search.click();
  843. ds_main_judgexmpcdlst_item.rowposition = irow;
  844. frmf_inputEnterKey("grd_judgexmplst", "oncelldblclick", new GridClickEventInfo);
  845. }
  846. /****************************************************************************************
  847. * Components : Button
  848. * Description : 삭제
  849. ****************************************************************************************/
  850. function grp_btn_btn_del_onclick(obj:Button, e:ClickEventInfo) {
  851. fSaveExmp(true);
  852. }
  853. /****************************************************************************************
  854. * Components : Button
  855. * Description : 초기화
  856. ****************************************************************************************/
  857. function grp_btn_btn_clear_onclick(obj:Button, e:ClickEventInfo) {
  858. fInit(true);
  859. }
  860. function grd_judgexmplst_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  861. {
  862. if(e.row > -1){
  863. grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
  864. pmn_menu.trackPopup(e.screenX,e.screenY);
  865. }
  866. return true;
  867. }
  868. function chk_useyn_onclick(obj:CheckBox, e:ClickEventInfo)
  869. {
  870. if(obj.value == false) ds_main_judgexmpdetl_item.setColumn(0, "useyn", "");
  871. }
  872. function Edit_onkeyup(obj:Edit, e:KeyEventInfo)
  873. {
  874. if(e.keycode == 13) this.getNextComponent(obj).setFocus();
  875. }
  876. ]]></Script>
  877. </Form>
  878. </FDL>